package enemies 
{
	import collisions.World;
	import entities.Entity;
	import flash.geom.Point;
	/**
	 * ...
	 * @author Gareth Williams
	 * base class for ai behaviours
	 */
	public class Strategy
	{
		public var implementation:IStrategyImplementation = null;
		private var _isCompleted:Boolean = false;
		public function perform(on:Entity):Boolean
		{
			if (implementation)
			{
				_isCompleted = implementation.perform(on);
			}
			return _isCompleted;
		}
		public function get strategyIsComplete():Boolean
		{
			return _isCompleted
		}
	}
}